package com.scm.persist.mybatis;

import com.scm.persist.model.ScmInventoryStashProduct;
import com.scm.persist.model.ScmInventoryStashProductExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmInventoryStashProductMapper {
    int countByExample(ScmInventoryStashProductExample example);

    int deleteByExample(ScmInventoryStashProductExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmInventoryStashProduct record);

    int insertSelective(ScmInventoryStashProduct record);

    List<ScmInventoryStashProduct> selectByExampleWithRowbounds(ScmInventoryStashProductExample example, RowBounds rowBounds);

    List<ScmInventoryStashProduct> selectByExample(ScmInventoryStashProductExample example);

    ScmInventoryStashProduct selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmInventoryStashProduct record, @Param("example") ScmInventoryStashProductExample example);

    int updateByExample(@Param("record") ScmInventoryStashProduct record, @Param("example") ScmInventoryStashProductExample example);

    int updateByPrimaryKeySelective(ScmInventoryStashProduct record);

    int updateByPrimaryKey(ScmInventoryStashProduct record);
}